package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 * @Author: chouh
 * @DateTime: 2025/10/8 19:58
 * @Description:
 */

public interface RoleService {

    List<Role> queryAllRoles();

    void updateRole(Role role);

    Role queryRoleById(Integer id);

    void addRole(Role role);

    void deleteRole(Integer id);

    PageResult<Role> page(String name, String label, Integer page, Integer pageSize);
}
